package com.wzc.pet.mapper;

import com.wzc.basic.mapper.BaseMapper;
import com.wzc.pet.domain.Pet;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface PetMapper extends BaseMapper<Pet> {

    /**
     * 上架
     * @param ids
     * @param date
     */
    void onSale(@Param("ids")List<Long> ids, @Param("onsaletime")Date date);

    /**
     * 下架
     * @param ids
     * @param date
     */
    void offSale(@Param("ids")List<Long> ids, @Param("offsaletime")Date date);
}
